//
//  ZLabelTools.m
//  DoctorFAQs
//
//  Created by zjq on 17/2/15.
//  Copyright © 2017年 zjq. All rights reserved.
//

#import "ZLabelTools.h"

@implementation ZLabelTools
+ (void)setThelabel:(UILabel *)sender Textcolor:(UIColor *)Color backColor:(UIColor *)backColor Fontsize:(NSInteger)size context:(NSString *)text isCenter:(BOOL)center{
    sender.text = text;
    sender.backgroundColor = backColor;
    sender.textColor = Color;
    sender.font = [UIFont systemFontOfSize:size];
    sender.textAlignment = center?  NSTextAlignmentCenter: NSTextAlignmentLeft;
    
}
@end
